#
# Be sure to run `pod lib lint PodTCLibraryDemo.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'PodTCLibraryDemo'
  s.version          = '0.1.1'
  s.summary          = 'PodTCLibraryDemo summary is study'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
  集合了xmppframework和自己拓展的类，方便即时通讯的开发，此版还不完善，正在继续开发中
                     DESC

  s.homepage         = 'http://git.oschina.net/tuck/PodTCLibraryDemo'
# s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'tuck' => '104166631@qq.com' }
  s.source           = { :git => 'https://git.oschina.net/tuck/PodTCLibraryDemo.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  s.source_files = 'PodTCLibraryDemo/Classes/**/*'

# s.resource_bundles = {
#   'PodTCLibraryDemo' => ['PodTCLibraryDemo/Assets/*.png']
# }

  s.public_header_files = 'PodTCLibraryDemo/Classes/**/*.h'
#s.xcconfig = {'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2',$(PODS_ROOT)/XMPPFramework/module}
  s.xcconfig = {
    'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2 $(SDKROOT)/usr/include/libresolv $(PODS_ROOT)/XMPPFramework/module',
    'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
    'OTHER_LDFLAGS' => '"$(inherited)" "-lxml2" "-objc"'
  }
  s.dependency 'XMPPFramework', '~> 3.6.6'
end
